package com.the_last.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@TableName("sys_role_permission")
@AllArgsConstructor
@NoArgsConstructor
public class SysRolePermission {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("role_id")
    private Long roleId;
    
    @TableField("permission_id")
    private Long permissionId;
    
    @TableField("created_time")
    private LocalDateTime createdTime;
    
    private Integer deleted;
    
}